package cn.edu.niit.alienlab.jshttplessonserver.dto;

public class CategoryDto {
    private Integer typeId;
    private String name;
    private Integer movieCount;

    public CategoryDto() {
    }

    public CategoryDto(Integer typeId, String name) {
        this.typeId = typeId;
        this.name = name;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getMovieCount() {
        return movieCount;
    }

    public void setMovieCount(Integer movieCount) {
        this.movieCount = movieCount;
    }

    @Override
    public String toString() {
        return "CategoryDto{" +
                "typeId=" + typeId +
                ", name='" + name + '\'' +
                '}';
    }
}
